/* Dashboard layout */
.bda-dashboard {
    font-family: 'Segoe UI', sans-serif;
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Card grid layout */
.bda-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.bda-card {
    background: white;
    padding: 20px;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Chart containers */
#sales-chart, #user-segments-chart {
    width: 100%;
    min-height: 300px;
}

/* Date selector */
.date-range-selector {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 15px 0;
}

.date-range-selector input {
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* User segments details */
#user-segments-details {
    margin-top: 15px;
}

.segment-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.segment-label {
    font-weight: bold;
}

.segment-value {
    color: #666;
}